-- msg_do_function
-- Create by panyl
-- 建筑功能

return function(lpc)
    local m = lpc.data
    
    local buildingFunc = ME.user.dbase:query("building_function", {})
    for rid, flag in pairs(m) do
        if flag then
            buildingFunc[rid] = flag
        end
    end
end
